package json;

/**
 * Created with IntelliJ IDEA.
 * User: leep
 * Date: 16-3-8
 * Time: 下午5:47
 * To change this template use File | Settings | File Templates.
 */
public class AMain {
	public static void main(String[] args) {
		A a = new A();
		a.setC("123");
		System.out.println(a.getC());
		System.out.println(a.hashCode());
		change(a);
		System.out.println(a.getC());
	}

	public static void change(A a) {
		A b = new A();
		System.out.println(b.hashCode());
		b = a;
		System.out.println(b.hashCode());
		b.setC("456");
		System.out.println(b.getC());
	}
}
